﻿using System.Windows;

namespace FFmpegVideoClip.windows
{
    /// <summary>
    /// Helps.xaml 的交互逻辑
    /// </summary>
    public partial class Helps : Window
    {
        public static Helps? Instance;
        public static void ShowHelp()
        {
            if (Instance is not null)
            {
                Instance.Activate();
                return;
            }
            else
            {
                Instance = new();
                Instance.Show();
            }
        }
        public Helps()
        {
            InitializeComponent();
            Closed += (s, e) => Instance = null;
        }

        
    }
}
